<template>
  <div class="button">
     <div class="show-title" >按钮类型</div>
     <div class="show-button" >
        <Rain-Button type = '' size = '' >基础按钮</Rain-Button>
        <Rain-Button type = 'primary' size = '' >主要按钮</Rain-Button>
        <Rain-Button type = 'info' size = '' >信息按钮</Rain-Button>
        <Rain-Button type = 'danger' size = '' >危险按钮</Rain-Button>
        <Rain-Button type = 'warning' size = '' >警告按钮</Rain-Button>
     </div>
     <div class="show-title" >按钮类型</div>
     <div class="show-button" >
        <Rain-Button type = 'primary' size = 'small' >小号按钮</Rain-Button>
        <Rain-Button type = 'primary' size = '' >普通按钮</Rain-Button>
        <Rain-Button type = 'primary' size = 'big' >大号按钮</Rain-Button>
     </div>
  </div>
</template>

<script lang="ts">
import { Component, Vue } from "vue-property-decorator";
@Component({
  components: {

  }
})
export default class Home extends Vue {
  // data 
}
</script>
<style lang="scss" scoped>
$gray:#999999;
.show-title{
  text-align: left;
  font-size: 16px;
  padding: 16px;
  color: $gray;
}
.show-button{
  display: flex;
  flex-direction: row;
  align-items:center;
  flex-wrap: wrap;
  padding: 10px;
  div{
    margin: 6px;
  }
}
</style>
